<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
 插件菜单
*/
defined('BY_JYA') or exit('error');
$menus=array(
	array('title'=>'概况','icon'=>'fa-home','url'=>'jy_qiuyuyue/index/','child'=>array(
		array('title'=>'平台','child'=>array(
			array('url'=>'jy_qiuyuyue/index/','title'=>'平台概况'),
		)),
		array('title'=>'内容','child'=>array(
			array('url'=>'jy_qiuyuyue/notice/','title'=>'公告管理'),
			array('url'=>'jy_qiuyuyue/comments/','title'=>'评论管理'),
		)),
		array('title'=>'入口管理','child'=>array(
			array('url'=>'jy_qiuyuyue/basic.module_home/cover/ac=index&type=3','title'=>'首页入口'),
			//array('url'=>'jy_weishop/basic.module_home/cover/ac=index','title'=>'商城入口'),
			array('url'=>'jy_creditshop/basic.module_home/cover/ac=index&type=3','title'=>'积分商城入口'),
			array('url'=>'jy_qiuyuyue/basic.module_home/cover/ac=myhome&type=3','title'=>'会员入口'),	
			array('url'=>'jy_qiuyuyue/basic.module_home/cover/ac=manage.index&type=3','title'=>'店员入口'),
			array('url'=>'jy_qiuyuyue/basic.module_home/cover/ac=login&type=3','title'=>'场馆PC入口'),
		)),
	)),
	array('title'=>'场馆','icon'=>'fa-home','url'=>'jy_qiuyuyue/store/','child'=>array(
		array('title'=>'场馆管理','child'=>array(
			array('url'=>'jy_qiuyuyue/store/','title'=>'场馆列表'),
			array('url'=>'jy_qiuyuyue/store_area/','title'=>'场馆区域'),
			array('url'=>'jy_qiuyuyue/serve_group/','title'=>'项目分类'),
		)),
	)),
	array('title'=>'商城','icon'=>'fa-home','url'=>'jy_weishop/goods.list/','child'=>array(
		array('title'=>'商品管理_Goods list','child'=>array(
			array('url'=>'jy_weishop/goods.list/','title'=>'出售中'),
			array('url'=>'jy_weishop/goods.out/','title'=>'已售罄'),
			array('url'=>'jy_weishop/goods.stock/','title'=>'仓库中'),
			array('url'=>'jy_weishop/goods.cycle/','title'=>'回收站'),
			array('url'=>'jy_weishop/goods.verify/','title'=>'待审核'),
			array('url'=>'jy_weishop/goods.group/','title'=>'商品分类'),
			array('url'=>'jy_weishop/goods.label/','title'=>'标签管理'),
			array('url'=>'jy_weishop/goods.basicinfo/','title'=>'固定信息'),
		)),
		array('title'=>'商品相关_Goods info','child'=>array(
			array('url'=>'jy_weishop/goods.comment/','title'=>'商品评价'),
		)),
		array('title'=>'虚拟卡密_Virtual','child'=>array(
			array('url'=>'jy_weishop/goods.virtual_temp/','title'=>'虚拟卡密'),
			array('url'=>'jy_weishop/goods.virtual_group/','title'=>'卡密分类'),
			array('url'=>'jy_weishop/goods.virtual_set/','title'=>'卡密设置'),
		)),
		array('title'=>'订单管理_Order list','child'=>array(
			array('url'=>'jy_weishop/order.list/list/all=1','title'=>'全部订单'),
			array('url'=>'jy_weishop/order.list/list/status=0','title'=>'待付款'),
			array('url'=>'jy_weishop/order.list/list/status=1','title'=>'待发货'),
			array('url'=>'jy_weishop/order.list/list/status=2','title'=>'待收货'),
			array('url'=>'jy_weishop/order.list/list/status=3','title'=>'已完成'),
			array('url'=>'jy_weishop/order.list/list/status=4','title'=>'已关闭'),
			array('url'=>'jy_weishop/order.list/deleted/','title'=>'回收站'),
		)),
		array('title'=>'维权_Refund','child'=>array(
			array('url'=>'jy_weishop/order.refund/','title'=>'维权申请'),
		)),
		array('title'=>'工具_Tools','child'=>array(
			array('url'=>'jy_weishop/order.export/','title'=>'自定义导出'),
			array('url'=>'jy_weishop/order.batchsend/','title'=>'批量发货'),
		)),
		array('title'=>'优惠券','child'=>array(
			array('url'=>'jy_weishop/coupon.count/','title'=>'优惠券概况'),
			array('url'=>'jy_weishop/coupon.list/','title'=>'全部优惠券'),
			array('url'=>'jy_weishop/coupon.goodssend/','title'=>'活动/购物送券'),
			array('url'=>'jy_weishop/coupon.sendcoupon/','title'=>'手动发放'),
			array('url'=>'jy_weishop/coupon.log/','title'=>'发放记录'),
			array('url'=>'jy_weishop/coupon.group/','title'=>'分类管理'),
			array('url'=>'jy_weishop/coupon.set/','title'=>'其他设置'),
			array('url'=>'jy_weishop/basic.module_home/cover/ac=coupon.index','title'=>'优惠券入口'),
		)),
	)),
	array('title'=>'积分','icon'=>'fa-home','url'=>'jy_creditshop/setting/basic/','child'=>array(
		array('title'=>'参数设置','child'=>array(
			array('url'=>'jy_creditshop/setting/basic/','title'=>'基本参数设置'),
		)),
		array('title'=>'商品分类管理','child'=>array(
			array('url'=>'jy_creditshop/category/list/','title'=>'商品分类管理'),
			array('url'=>'jy_creditshop/category/edit/','title'=>'添加商品分类'),
		)),
		array('title'=>'商品管理','child'=>array(
			array('url'=>'jy_creditshop/goods/list/','title'=>'商品管理'),
			array('url'=>'jy_creditshop/goods/edit/','title'=>'商品活动'),
		)),
		array('title'=>'参与记录','child'=>array(
			array('url'=>'jy_creditshop/logs/duihuan/','title'=>'兑换记录'),
			array('url'=>'jy_creditshop/logs/choujiang/','title'=>'抽奖记录'),
		)),
		array('title'=>'评价管理','child'=>array(
			array('url'=>'jy_creditshop/comment/list/','title'=>'全部评价'),
			array('url'=>'jy_creditshop/comment/list1/','title'=>'待审核'),
			array('url'=>'jy_creditshop/comment/list2/','title'=>'审核通过'),
			array('url'=>'jy_creditshop/comment/list3/','title'=>'审核不通过'),
		)),
		array('title'=>'核销管理','child'=>array(
			array('url'=>'jy_creditshop/basic.module_home/cover/ac=verify.index&type=3','title'=>'核销入口'),
			array('url'=>'jy_creditshop/verify/list/','title'=>'全部核销'),
			array('url'=>'jy_creditshop/verify/list1/','title'=>'待核销'),
			array('url'=>'jy_creditshop/verify/list2/','title'=>'已核销'),
		)),
	)),
	array('title'=>'分销','icon'=>'fa-home','url'=>'jy_commission/index/','child'=>array(
		array('title'=>'入口','child'=>array(
			array('url'=>'jy_commission/index/','title'=>'概况'),
			array('url'=>'jy_commission/basic.module_home/cover/ac=index','title'=>'首页入口'),
		)),
		array('title'=>'分销管理','child'=>array(
			array('url'=>'jy_commission/agent/','title'=>'分销商管理'),
			array('url'=>'jy_commission/member/','title'=>'会员管理'),
			array('url'=>'jy_commission/apply/','title'=>'审核分销商'),
			array('url'=>'jy_commission/order/','title'=>'分销订单'),
			array('url'=>'jy_commission/commission/','title'=>'佣金管理'),
			array('url'=>'jy_commission/balance/','title'=>'结算管理'),
				
		)),
		array('title'=>'分销设置','child'=>array(
			array('url'=>'jy_commission/goods/','title'=>'商品独立佣金设置'),
			array('url'=>'jy_commission/level/','title'=>'分销商等级设置'),
			array('url'=>'jy_commission/setting/','title'=>'基本设置'),
			array('url'=>'jy_commission/page_setting/','title'=>'样式设置'),
			array('url'=>'jy_commission/diyfrom/','title'=>'申请页面设置'),
		)),
	)),
	array('title'=>'发票','icon'=>'fa-cloud','url'=>'jy_invoice/list/','child'=>array(
		array('title'=>'发票管理','child'=>array(
				array('url'=>'jy_invoice/list/','title'=>'发票管理'),
		)),
		array('title'=>'基本设置','child'=>array(
				array('url'=>'jy_invoice/setting/','title'=>'基本设置'),
		)),
		array('title'=>'入口管理','child'=>array(
			array('url'=>'jy_invoice/basic.module_home/cover/ac=index&type=3','title'=>'首页入口'),
		)),
	)),
	array('title'=>'订单','icon'=>'fa-cloud','url'=>'jy_qiuyuyue/order_count/','child'=>array(
		array('title'=>'场馆订单','child'=>array(
			array('url'=>'jy_qiuyuyue/order_count/','title'=>'订单概况'),
			array('url'=>'jy_qiuyuyue/order/','title'=>'订单列表'),
			array('url'=>'jy_qiuyuyue/refund/','title'=>'订单退款'),
		)),
	)),
	array('title'=>'售后','icon'=>'fa-cloud','url'=>'jy_qiuyuyue/pingjia_goods/','child'=>array(
		array('title'=>'客户反馈','child'=>array(
			array('url'=>'jy_qiuyuyue/pingjia_goods/','title'=>'商品评价'),
			array('url'=>'jy_qiuyuyue/pingjia_store/','title'=>'场馆评价'),
		)),
	)),
	array('title'=>'会员','icon'=>'fa-users','url'=>'jy_qiuyuyue/member_count/','child'=>array(
		array('title'=>'会员管理','child'=>array(
			array('url'=>'jy_qiuyuyue/member_count/','title'=>'会员概况'),
			array('url'=>'jy_qiuyuyue/member/','title'=>'会员列表'),
			array('url'=>'core/member.group/','title'=>'会员等级'),
			array('url'=>'jy_qiuyuyue/member_group/','title'=>'标签组'),
			array('url'=>'core/member.wxcard/','title'=>'微信会员卡'),
		)),
	)),
	array('title'=>'设置','icon'=>'fa-gear','url'=>'jy_qiuyuyue/setting/','child'=>array(
		array('title'=>'设置','child'=>array(
			array('url'=>'jy_qiuyuyue/setting/','title'=>'基本设置'),
			array('url'=>'jy_qiuyuyue/dingxieyi/','title'=>'订场协议'),
			array('url'=>'jy_qiuyuyue/tanxieyi/','title'=>'首页弹窗协议'),
		)),
		array('title'=>'消息提醒','child'=>array(
			array('url'=>'core/setting.msgset/list/plugin_name=jy_qiuyuyue','title'=>'消息开启设置'),
			array('url'=>'core/setting.msgtpl/list/plugin_name=jy_qiuyuyue','title'=>'微信模板库'),
		)),
	)),
);

if(!$this->plugin_exists('jy_commission')){
	unset($menus[4]);
}
if(!$this->plugin_exists('jy_invoice')){
	unset($menus[5]);
}
return $menus;